﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace LEDStripMixer.Shared.Extensions
{
    public static class StringExtensions
    {
        public static bool IsNotNullOrEmpty(this String str)
        {
            return str != null && str != string.Empty;
        }

        public static bool IsNullorEmpty(this Object str)
        {
            return str == null || str == string.Empty;
        }
    }
}
